Copyright(C) 1994 Terumasa KODAKA , Takeshi KONO
■Dictionary ROM BIOS
INT 1Fh - Function A0h
Category Dictionary ROM BIOS
Name Initialization
Target PC-98LT・HA
Input AH=A0h
AL=Learning ON/OFF
80h: No learning
00h: Learning
Output CF=0
Description o Initializes the dictionary ROM BIOS.
Related
INT 1Fh - Function A1h
Category Dictionary ROM BIOS
Name Heading Search
Target PC-98LT・HA
Input AH=A1h
ES:BX=Start address of buffer storing reading (ANK string of up to 16 characters)
CX=Length of reading (00-10h)
Output CF=Execution result
1: Word not found
0: Word found
Description o Searches for a word in the dictionary with the specified reading. To retrieve the word, execute INT 1Fh - Function A1h.
Related INT 1Fh - Function A2h
INT 1Fh - Function A2h
Category Dictionary ROM BIOS
Name Reading Kanji Notation
Target PC-98LT/HA
Input AH=A2h
DS:DX=Start address of notation read buffer (36 bytes)
Output CF=Execution result
1: All words read
0: Words written to buffer
Description Reads the word searched for in INT 1Fh - Function A1h.
Related INT 1Fh - Function A1h
INT 1Fh - Function A3h
Category Dictionary ROM BIOS
Name System Standard Dictionary/User Word Dictionary Learning
Target PC-98LT/HA
Input AH=A3h
Output None
Explanation o The word most recently read with INT 1Fh - Function A2h is used as the first candidate.
Related INT 1Fh - Function A2h
INT 1Fh - Function A4h
Category Dictionary ROM BIOS
Name Search/Read Learning Page
Target PC-98LT/HA
Input AH=A4h
ES:BX = Starting address of the buffer storing the reading (ANK string of up to 16 characters)
CX = Reading Length (00-10h)
DS:DX = Starting address of the reading buffer (36 bytes)
Output CF = Execution Result
1: Word Not Found
0: Word Found
Explanation o Searches for and reads the word in the learning page using the specified reading.
Related
INT 1Fh - Function A5h
Category Dictionary ROM BIOS
Name Unknown
Undocumented
Target PC-98LT・HA
Input AH=A5h
Output CF=Execution result
Explanation
Related
INT 1Fh - Function A600h
Category Dictionary ROM BIOS
Name Register to user word dictionary
Target PC-98LT・HA
Input AX=A600h
ES:BX=Start address of buffer storing reading (ANK string of up to 16 characters)
CX=Reading length (00-10h)
DS:DX=Start address of buffer (36 bytes) storing word notation
Output CF=Execution result
1: Insufficient storage space
0: Normal completion
Explanation o Registers a word to the user word dictionary.
Related
INT 1Fh - Function A680h
Category Dictionary ROM, BIOS
Name Register a word to the learning page
Target PC-98LT/HA
Input AX=A680h
ES:BX=Start address of the buffer containing the reading (ANK string of up to 16 characters)
CX=Reading length (00-10h)
DS:DX=Start address of the buffer containing the word's notation (36 bytes)
Output CF=0
Description Registers a word to the learning page.
Related
INT 1Fh - Function A7h Subfunction 01h, 02h
Category Dictionary ROM BIOS
Name Delete from User Word Dictionary
Target PC-98LT/HA
Input AH=A7h
AL=Function
01h: Delete with specified reading and spelling
02h: Delete all words with the specified reading
ES:BX=Start address of buffer storing reading (ANK string of up to 16 characters)
CX=Length of reading (00-10h)
■ When AL=01h
DS:DX=Start address of buffer (36 bytes) storing word spelling
Output CF=Execution result
1: Deletion failed
0: Successful completion
Description o Deletes a word from the user word dictionary.
Related
INT 1Fh - Function A7h Subfunction 81h
Category Dictionary ROM BIOS
Name Deletion within the learning page
Target PC-98LT・HA
Input AH=A781h
ES:BX=Start address of the buffer storing the reading (ANK string of up to 16 characters)
CX=Reading length (00-10h)
DS:DX=Start address of the buffer storing the word's notation (36 bytes)
Output CF=Execution result
1: Deletion failed
0: Successful completion
Explanation
Related
INT 1Fh - Function A8h,A9h,AAh,ABh,ACh,ADh,AEh,AFh
Category Dictionary ROM BIOS
Name Unknown
Undocumented
Target PC-98LT・HA
Input AH=A8h,A9h,AAh,ABh,ACh,ADh,AEh,AFh
Output CF=Execution result
Explanation o Dictionary ROM BIOS-related processing. Details unknown.
For PC-98LT, AH=ACh, ADh, AFh does not work.
For PC-98HA, AH=AFh does not work.
Related
INT 1Fh - Function B0h, B1h, B2h, B3h
Category ??? BIOS
Name Unknown
Undocumented
Target PC-98HA
Input AH=B0h, B1h, B2h, B3h
Output
Description
Related
■PCMCIA Memory Card BIOS
INT 1Fh - Function B4h
Category PCMCIA Memory Card BIOS
Name Read data from memory card (sector-by-sector)
Applicable PC-98HA, PC-9801NL/P/NX/C/NS/A/NL/R, PC-9821Ne
Machines with PCMCIA 2.0 slots + MCDRV.SYS
Input AH=B4h
AL=Operation Mode Identification Code
bit 7: Extended Mode Selection ■ [Other than PC-98HA]
1 = Extended Mode (Supports cards up to 64MB)
0 = PC-98HA Compatible Mode (Supports cards up to 16MB)
bit 7: BP RAM/Memory Card Selection ■ [PC-98HA]
1 = BP RAM Access
0 = Memory Card Access
bit 6: Compare Mode
1 = Compare Processing
0 = Transfer Processing
bit 5: Set to 0 (Unused)
bit 4: Register Mode
1 = Attribute Memory
0 = Common Memory
Bits 3-0: Set to 0000b (Unused)
CX = Number of Transfer Sectors
DX = Lower 16 Bits of Transfer Start Sector Address
DI = Upper 2 Bits of Transfer Start Sector Address (Specified Only in Extended Mode)
ES:BX = Transfer Address
Output CF = End Status
1: Abnormal End (When AH = non-0)
0: Normal End (When AH = 0)
AH = Status Information
------+--------------+-----------------------------------
Value | Abbreviation | Content
------+--------------+-----------------------------------
0xh | NT | Normal End
| | Normal End
2xh | AO | Address 20 Line Over [Other than PC-98HA]
| | Specified buffer exceeds 1MB boundary
6xh | NR | Not Ready
| | No card is inserted (including when the card slot cover is open on the PC-9801NL and
| | when the card slot is unlocked on the PC-98HA) or an EMS card is inserted
8xh | ER | Error
| | Card abnormality
Bxh | DD | Data Error
| | Compare error occurred
Cxh | ND | No Data■[PC-98HA]
| | Invalid sector specification
Dxh | ND | No Data■[Other than PC-98HA]
| | A sector larger than 64MB was specified
x1h | LB | Low Battery■[Other than PC-98HA]
| | Card battery is low
------+--------------+-----------------------------------
[When AH=Bxh]
DX = Lower 16 bits of the sector address where the error occurred
DI = Upper 2 bits of the sector address where the error occurred (Extended mode only)
Description o The PCMCIA memory card is accessed as a disk.
One sector is 256 bytes in size.
u On the PC-98HA, specifying AL bit 7 = 1 (BP RAM access) accesses the unit's built-in BP RAM (RAM backed up by a lithium battery).
o Specifying AL bit 6 = 1 (compare processing) compares the sector data with the data in the buffer. No data transfer is performed.
o Specifying AL bit 4 = 1 (attribute memory) accesses attribute memory, which indicates card attributes, etc.
To read/write normal data, specify AL bit 4 = 0 (common memory).
u This function will terminate normally even if a sector exceeding the memory card's capacity is accessed.
Because wraparound occurs, the access will end up accessing a sector somewhere on the memory card.
The higher-level program must always access a sector within the card's capacity.
o The processing routine is located in the ROM BIOS of the PC-98HA, PC-9801NL・P・NX/C・NS/A・NL/R, and PC-9821Ne.
Installing MCDRV.SYS on a PCMCIA 2.0 slot-equipped machine replaces the processing routine.
Information about MCDRV.SYS for PCMCIA 2.0 slot-equipped machines is undocumented.
Related 0000:059Eh [PC-98HA]
0000:05A6h [Other than PC-98HA]
0000:05A8h [Other than PC-98HA]
INT 1Fh - Function B5h
Category PCMCIA Memory Card BIOS
Name Write Data to Memory Card (Sector Units)
Target PC-98HA, PC-9801NL
Machines with PCMCIA 2.0 Slots + MCDRV.SYS
Input AH=B5h
AL=Operation Mode Identification Code
bit 7: Extended Mode Selection [Other than PC-98HA]
1 = Extended Mode (Supports cards up to 64MB)
0 = PC-98HA Compatible Mode (Supports cards up to 16MB)
bit 7: BP RAM/Memory Card Selection [PC-98HA]
1 = BP RAM Access
0 = Memory Card Access
bit 6: Verify
1 = Verify
0 = Do Not Verify
bit 5: Write Protect Check
1 = Disabled
0 = Enabled
bit 4: Register Mode
1 = Attribute Memory
0 = Common Memory
bit 3,2: Set to 00b (unused)
bit 1: Flash Memory Erase [Except PC-98HA]
1 = Execute Flash Memory Erase
0 = Write to Normal Memory
bit 0: Specify Flash Memory Write [Except PC-98HA]
1 = Write to Flash Memory
0 = Write to Normal Memory
CX = Number of Transfer Sectors (Set to 0000h when erasing flash memory)
DX = Lower 16 bits of Transfer Start Sector Address
DI = Upper 2 bits of Transfer Start Sector Address (Specified only in Extended Mode)
ES:BX = Transfer Address
Output CF = End Status
1: Abnormal End (When AH = non-0)
0: Normal End (When AH = 0)
AH = Status Information
------+--------------+-----------------------------------
Value | Abbreviation | Content
------+--------------+-----------------------------------
0xh | NT | Normal End
| | Normal End
2xh | AO | Address 20 line Over■[Other than PC-98HA]
| | The specified buffer exceeds the 1MB boundary
4xh | AC | AC Adapter Not Connect■[Other than PC-98HA]
| | The AC adapter was not connected when writing/erasing flash memory
6xh | NR | Not Ready
| | No card inserted (including when the card slot cover is open on a PC-9801NL or when
| | the card slot is unlocked on a PC-98HA) or an EMS card is inserted
7xh | NW | Not Writable
| | Written to write-protected memory
8xh | ER | Error
| | Card abnormality
Bxh | DD | Data Error
| | A compare error occurred
Cxh | ND | No Data■[PC-98HA]
| | Invalid sector specification
Dxh | ND | No Data■[Other than PC-98HA]
| | A sector larger than 64MB was specified
x1h | LB | Low Battery ■ [Other than PC-98HA]
| | The card's battery is low.
------+--------------+-----------------------------------
BX = Memory Card Size ■ [PC-98HA]
Upon normal termination, the memory card size is stored in the same format as the output of INT 1Fh - Function B6h. Upon abnormal termination, 0000h is stored.
[When AH = Bxh]
DX = Lower 16 bits of the sector address where the error occurred
DI = Upper 2 bits of the sector address where the error occurred (Extended mode only)
Description o The PCMCIA memory card is accessed as a disk.
One sector is 256 bytes in size.
u On PC-98HA, specifying AL bit 7 = 1 (BP RAM access) accesses the built-in BP RAM (RAM backed up by a lithium battery). (Undocumented)
o Specifying AL bit 6 = 1 (Verify) compares the written data with the buffer contents for each sector.
However, you cannot set this to 1 (verify) for flash memory cards.
o If AL bit 5 = 1 (write protect check disabled), the write will proceed without checking whether
the card is write-protected. If the card is not write-protected at the hardware level, the write will proceed.
o If AL bit 5 = 0 (write protect mode enabled), the write will proceed after checking whether the card is write-protected.
If the card is write-protected, the write will not proceed.
o If AL bit 4 = 1 (attribute memory), the attribute memory, which indicates the card's attributes, will be accessed.
To read/write normal data, specify AL bit 4 = 0 (common memory).
o Erasing the flash memory erases the entire card.
Writing to flash memory is only possible to sectors that have not been written to since they were erased.
u This function will terminate normally even if an attempt is made to access a sector that exceeds the memory card's capacity.
Because wraparound occurs, the access will end up accessing a sector somewhere within the memory card.
High-level programs must always access sectors within the card's capacity.
o The PC-98HA and PC-9801NL have a processing routine in the ROM BIOS.
Supported on PCMCIA 2.0 slot-equipped machines when MCDRVSYS is installed.
Information about PCMCIA 2.0 slot-equipped machines and MCDRV.SYS is undocumented.
Related 0000:059Eh [PC-98HA]
0000:05A6h [Other than PC-98HA]
0000:05A8h [Other than PC-98HA]
INT 1Fh - Function B6h
Category PCMCIA Memory Card BIOS
Name Get Card Size
Target PC-98HA, PC-9801NL
Machines with PCMCIA 2.0 slots + MCDRV.SYS
Input AH=B6h
AL=00h
Output CF=Exit Status
1: Abnormal termination (when AH=non-zero)
0: Normal termination (when AH=0)
AH=Status Information
-------+--------------+-----------------------------------
Value | Abbreviation | Content
-------+--------------+-----------------------------------
0xh | NT | Normal end
| | Normal termination
6xh | NR | Not Ready
| | No card inserted (including when the card slot cover is open on a PC-9801NL or when
| | the card slot is unlocked on a PC-98HA) or an EMS card is inserted
7xh | NW | Not Writable
| | Written to write-protected memory
8xh | ER | Error
| | Card Abnormal
x1h | LB | Low Battery ■ [Other than PC-98HA]
| | Card battery is low
-------+--------------+-----------------------------------
BX = Memory Card Size
bits 15-8: Reserved
bits 7-3: Mantissa - 1 (Y)
bits 2-0: Exponent (X)
* Capacity = (Y + 1) * (4^X / 2) (units: KB)
* BX remains unchanged in the event of an abnormal termination ■ [Other than PC-98HA]
In the event of an abnormal termination, BX = 0000h ■ [PC-98HA]
Description o Checks the capacity of a PCMCIA memory card. However, the capacity of write-protected SRAM and ROM cards cannot be checked.
u Specifying AL = 00h as input is because this function also checks the operating mode identification code.
The PC-98HA and PC-9801NL have a processing routine in the ROM BIOS.
Machines with PCMCIA 2.0 slots are supported when MCDRV.SYS is installed.
Information about MCDRV.SYS on PCMCIA 2.0 slots is undocumented.
Related 0000:059Ch [PC-98HA]
0000:059Eh [PC-98HA]
0000:05A6h [Other than PC-98HA]
0000:05A8h [Other than PC-98HA]
Table Relationship between X, Y and Capacity
-----+-------+-------+--------+---------+---------+-------+-------
Y\X | 0 | 1 | 2 | 3 | 4 | 5 | 6
-----+-------+-------+--------+---------+---------+-------+-------
00h | 0.5K | 2.0K | 8.0K | 32.0K | 128.0K | 0.5M | 2.0M
01h | 1.0K | 4.0K | 16.0K | 64.0K | 256.0K | 1.0M | 4.0M
02h | 1.5K | 6.0K | 24.0K | 96.0K | 384.0K | 1.5M | 6.0M
03h | 2.0K | 8.0K | 32.0K | 128.0K | 512.0K | 2.0M | 8.0M
04h | 2.5K | 10.0K | 40.0K | 160.0K | 640.0K | 2.5M | 10.0M
05h | 3.0K | 12.0K | 48.0K | 192.0K | 768.0K | 3.0M | 12.0M
06h | 3.5K | 14.0K | 56.0K | 224.0K | 896.0K | 3.5M | 14.0M
07h | 4.0K | 16.0K | 64.0K | 256.0K | 1024.0K | 4.0M | 16.0M
08h | 4.5K | 18.0K | 72.0K | 288.0K | 1152.0K | 4.5M | 18.0M
09h | 5.0K | 20.0K | 80.0K | 320.0K | 1280.0K | 5.0M | 20.0M
0Ah | 5.5K | 22.0K | 88.0K | 352.0K | 1408.0K | 5.5M | 22.0M
0Bh | 6.0K | 24.0K | 96.0K | 384.0K | 1536.0K | 6.0M | 24.0M
0Ch | 6.5K | 26.0K | 104.0K | 416.0K | 1664.0K | 6.5M | 26.0M
0Dh | 7.0K | 28.0K | 112.0K | 448.0K | 1792.0K | 7.0M | 28.0M
0Eh | 7.5K | 30.0K | 120.0K | 480.0K | 1920.0K | 7.5M | 30.0M
0Fh | 8.0K | 32.0K | 128.0K | 512.0K | 2048.0K | 8.0M | 32.0M
10h | 8.5K | 34.0K | 136.0K | 544.0K | 2176.0K | 8.5M | 34.0M
11h | 9.0K | 36.0K | 144.0K | 576.0K | 2304.0K | 9.0M | 36.0M
12h | 9.5K | 38.0K | 152.0K | 608.0K | 2432.0K | 9.5M | 38.0M
13h | 10.0K | 40.0K | 160.0K | 640.0K | 2560.0K | 10.0M | 40.0M
14h | 10.5K | 42.0K | 168.0K | 672.0K | 2688.0K | 10.5M | 42.0M
15h | 11.0K | 44.0K | 176.0K | 704.0K | 2816.0K | 11.0M | 44.0M
16h | 11.5K | 46.0K | 184.0K | 736.0K | 2944.0K | 11.5M | 46.0M
17h | 12.0K | 48.0K | 192.0K | 768.0K | 3072.0K | 12.0M | 48.0M
18h | 12.5K | 50.0K | 200.0K | 800.0K | 3200.0K | 12.5M | 50.0M
19h | 13.0K | 52.0K | 208.0K | 832.0K | 3328.0K | 13.0M | 52.0M
1Ah | 13.5K | 54.0K | 216.0K | 864.0K | 3456.0K | 13.5M | 54.0M
1Bh | 14.0K | 56.0K | 224.0K | 896.0K | 3584.0K | 14.0M | 56.0M
1Ch | 14.5K | 58.0K | 232.0K | 928.0K | 3712.0K | 14.5M | 58.0M
1Dh | 15.0K | 60.0K | 240.0K | 960.0K | 3840.0K | 15.0M | 60.0M
1Eh | 15.5K | 62.0K | 248.0K | 992.0K | 3968.0K | 15.5M | 62.0M
1Fh | 16.0K | 64.0K | 256.0K | 1024.0K | 4096.0K | 16.0M | 64.0M
-----+-------+-------+--------+---------+---------+-------+-------
* X=7 is reserved
INT 1Fh - Function B7h
Category PCMCIA Memory Card BIOS
Name Data Read (1 Byte)
Undocumented
Target PC-98HA, PC-9801NL
Machines with PCMCIA 2.0 slots + MCDRV.SYS
Input AH=B7h
AL=Operating Mode Identification Code
Bit 7: Extended Mode (Same as INT 1Fh - Function B4h)
Bits 6 and 5: Set to 00b (Unused)
Bit 4: Register Mode (Same as INT 1Fh - Function B4h)
Bits 3-0: Set to 0000b (Unused)
BX=High-order 8 bits of Transfer Start Address [PC-98HA]
BX=High-order 10 bits of Transfer Start Address [Other than PC-98HA]
CX=Least Significant 16 bits of Transfer Start Address
Output CF=End Status
1: Abnormal Termination (When AH = other than 0)
0: Normal end (AH=0)
AH=Status Information
------+--------------+-----------------------------------
Value | Abbreviation | Content
------+--------------+-----------------------------------
0xh | NT | Normal end
| | Normal end
6xh | NR | Not Ready
| | No card inserted (including when the card slot cover is open on a PC-9801NL or when
| | the card slot is unlocked on a PC-98HA) or an EMS card is inserted
8xh | ER | Error
| | Card error
Cxh | ND | No Data■[PC-98HA]
| | Invalid sector specification
Dxh | ND | No Data■[Other than PC-98HA]
| | A sector larger than 64MB was specified
x1h | LB | Low Battery■[Other than PC-98HA]
| | Card battery is low
------+--------------+-----------------------------------
DL=Read value
Explanation o Reads from a PCMCIA memory card in 1-byte units.
u This function will terminate normally even if an access is made to a sector that exceeds the memory card's capacity.
Because wraparound occurs, the access will end up being to a sector somewhere on the memory card.
High-level programs must always access sectors within the card's capacity.
o The PC-98HA and PC-9801NL have a processing routine in the ROM BIOS.
Supported on machines with PCMCIA 2.0 slots when MCDRV.SYS is installed.
Related 0000:059Eh [PC-98HA]
0000:05A6h [Other than PC-98HA]
0000:05A8h [Other than PC-98HA]
INT 1Fh - Function B8h
Category PCMCIA Memory Card BIOS
Name Data Write (1 byte)
Undocumented
Target PC-98HA, PC-9801NL
Machines with PCMCIA 2.0 slots + MCDRV.SYS
Input AH=B8h
AL=Operating Mode Identification Code
Bit 7: Extended Mode (same as INT 1Fh - Function B4h)
Bits 6, 5: Set to 00b (Unused)
Bit 4: Register Mode (same as INT 1Fh - Function B4h)
Bits 3-0: Set to 0000b (Unused)
BX=High-order 8 bits of Transfer Start Address [PC-98HA]
BX=Upper 10 bits of transfer start address [Other than PC-98HA]
CX=Lower 16 bits of transfer start address
DL=Value to write
Output CF = End Status
1: Abnormal end (when AH = non-0)
0: Normal end (when AH = 0)
AH = Status Information
------+--------------+-----------------------------------
Value | Abbreviation | Content
------+--------------+-----------------------------------
0xh | NT | Normal end
| | Normal end
6xh | NR | Not Ready
| | No card inserted (including when the card slot cover is open on a PC-9801NL or when
| | the card slot is unlocked on a PC-98HA) or an EMS card is inserted
8xh | ER | Error
| | Card error
Cxh | ND | No Data [PC-98HA]
| | Invalid sector specification
Dxh | ND | No Data [Other than PC-98HA]
| | A sector larger than 64MB was specified.
x1h | LB | Low Battery■ [Except PC-98HA]
| | The card's battery is low.
------+--------------+-----------------------------------
Description o Writes one byte to a PCMCIA memory card.
u When writing to a write-protected RAM or ROM card, the function completes normally even though the write does not actually occur.
u This function completes normally even when accessing a sector that exceeds the memory card's capacity.
Because wraparound occurs, the access will end up being to a sector somewhere on the memory card.
Upper-level programs must always access sectors within the card's capacity.
o The PC-98HA and PC-9801NL have a processing routine in the ROM BIOS.
Supported on PCMCIA 2.0 slot-equipped machines when MCDRV.SYS is installed.
Related 0000:059Eh [PC-98HA]
0000:05A6h [Other than PC-98HA]
0000:05A8h [Other than PC-98HA]
■System BIOS
INT 1Fh - Function B9h
Category System BIOS
Name Transition to Standby Mode
Applicable PC-98HA, PC-9801NL
Input AH=B9h
Output None
Description o Puts the system into standby mode. The CPU executes the HLT instruction,
which puts the system into a low-power state until an interrupt occurs.
u PC-9801NL: Undocumented.
Related
INT 1Fh - Function BAh
Category System BIOS
Name Calls HANDY98 Menu
Undocumented
Target PC-98HA
Input AH=BAh
Output CF=Exit Status
1: HANDY98 Menu cannot be called at this time
0: Returned from HANDY98 Menu
Description Calls the HANDY98 Menu.
Related
INT 1Fh - Function BBh,BCh,BDh,BEh,BFh
Category ??? BIOS
Name Execution Prohibited
Undocumented
Target PC-98HA
Input AH=BBh,BCh,BDh,BEh,BFh
Output
Description Dispatches without checking the AH range, causing a runaway error when executed.
Related